﻿using System;
using YKXiangQi.Common;
using YKXiangQi.Enums;

namespace YKXiangQi.Models
{
    [Serializable]
    public class Horse: Piece
    {
        public override string Name
        {
            get { return Constant.Horse; }
        }

        public override int PieceMaskValue
        {
            get { return 1; }
        }

        public override string Notation
        {
            get
            {
                if (Side == Sides.Red)
                    return "N";
                return "n";
            }
        }

        public override string LocalNotation
        {
            get { return "M"; }
        }
    }
}
